package cn.gson.fengboot.model.pojos;


import javax.persistence.*;

@Entity
@Table(name = "ddepandmenus", schema = "springboot", catalog = "")
public class Ddepandmenus {

  private Integer depId;
  private Integer menusId;
  private Integer myId;

  @Basic
  @Column(name = "dep_id")
  public Integer getDepId() {
    return depId;
  }

  public void setDepId(Integer depId) {
    this.depId = depId;
  }


  @Basic
  @Column(name = "menus_id")
  public Integer getMenusId() {
    return menusId;
  }

  public void setMenusId(Integer menusId) {
    this.menusId = menusId;
  }

  @Id
  @Column(name = "my_id")
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  public Integer getMyId() {
    return myId;
  }

  public void setMyId(Integer myId) {
    this.myId = myId;
  }

  @Override
  public String toString() {
    return "Ddepandmenus{" +
            "depId=" + depId +
            ", menusId=" + menusId +
            ", myId=" + myId +
            '}';
  }
}
